import allure

from lib.core.dataclass import CaseInfo


def allure_dynamic(case_obj: CaseInfo):
    """
    定制化allure
    :param case_obj:
    :return:
    """
    allure.dynamic.feature(case_obj.feature)
    allure.dynamic.story(case_obj.story)
    allure.dynamic.title(case_obj.title)
